import request from '@/utils/request'

export default {
    /**添加小结
     * 
     * @param {*} video 
     * @returns 
     */
    addVideo(video){
        return request({
            url:`/eduService/video/addVideo`,
            method:'post',
            data:video
        })
    },
    /**删除小结
     * 
     * @param {*} id 
     * @returns 
     */
    deleteVideo(id){
        return request({
            url:`/eduService/video/deleteVideo/${id}`,
            method:'delete'
        })
    },
    /**修改小结
     * 
     * @param {*} video 
     * @returns 
     */
    updateVideo(video){
        return request({
            url:`/eduService/video/updateVideo`,
            method:'post',
            data:video
        })
    },
}